<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>拖拽插件</title>
</head>
<style>
    * {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    body {
        min-height: 100vh;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    #dragMenu {
        position: relative;
        width: 1200px;
        height: 500px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    #dragMenu::after {
        content: '';
        display: block;
        clear: both;
    }

    li {
        width: 33.33%;
        height: 250px;
        float: left;
        cursor: move;
        box-sizing: border-box;
        padding: 10px;
    }

    li.active {
        border: 1px solid red;
    }

    img {
        width: 100%;
        height: 100%;
        display: block;
        box-sizing: border-box;
    }
</style>

<body>
    <ul id="dragMenu">
        <li><img src="static/picture/t1.png"></li>
        <li><img src="static/picture/t2.png"></li>
        <li><img src="static/picture/t3.png"></li>
        <li><img src="static/picture/t4.png"></li>
        <li><img src="static/picture/t5.png"></li>
        <li><img src="static/picture/t6.png"></li>
    </ul>
</body>
<script src="static/js/jquery-1.10.2.js"></script>
<script src="static/js/jquery.dragMenu.js"></script>
<script>
    $('#dragMenu').dragMenu();
</script>

</html>